package cn.edu.csust.cvs.management.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * @Auther: snail
 * @Date: 2021/1/22 00:30
 * @Description: 自由时长切分请求
 */
@Data
@ApiModel("自由时长切分请求")
public class VideoFlexibleSegmentRequest {

    @ApiModelProperty(value = "切分开始时间",required = true)
    @NotNull(message = "开始时间不能为空")
    private String startTime;

    @ApiModelProperty(value = "切分结束时间",required = true)
    @NotNull(message = "结束时间不能为空")
    private String endTime;
}
